
import { amapAPI } from "../../utils/request.js" 


const playerAdd = config =>
  amapAPI.post('/api/player/add', config, true)

const playerInfo = config =>
  amapAPI.get('/api/player/info', config, true)

const playerEdit = config =>
  amapAPI.post('/api/player/edit', config, true)

const orderDetail = config =>
  amapAPI.get('/api/order/detail', config, true)

const activityDetail = config =>
  amapAPI.get('/api/activity/detail', config, true)

const orderEdit = config =>
  amapAPI.post('/api/order/edit', config, true)


export {
  playerAdd,
  playerInfo,
  playerEdit,
  orderDetail,
  activityDetail,
  orderEdit
}